package com.huike.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableField;
    import java.io.Serializable;
    import java.util.Date;

/**
* <p>
    * 
    * </p>
*
* @author Lwen
* @since 2019-11-12
*/
    public class Information implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.UUID)
    private String id;

            /**
            * 资讯标题
            */
        @TableField("title")
    private String title;

            /**
            * 资讯图片
            */
        @TableField("img_url")
    private String imgUrl;

            /**
            * 发布时间
            */
        @TableField("time")
    private Date time;

            /**
            * 所属用户
            */
        @TableField("belong_user")
    private String belongUser;

            /**
            * 资讯内容
            */
        @TableField("context")
    private String context;

        @TableField("reamrk")
    private String reamrk;

        public String getId() {
        return id;
        }

            public void setId(String id) {
        this.id = id;
        }
        public String getTitle() {
        return title;
        }

            public void setTitle(String title) {
        this.title = title;
        }
        public String getImgUrl() {
        return imgUrl;
        }

            public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
        }
        public Date getTime() {
        return time;
        }

            public void setTime(Date time) {
        this.time = time;
        }
        public String getBelongUser() {
        return belongUser;
        }

            public void setBelongUser(String belongUser) {
        this.belongUser = belongUser;
        }
        public String getContext() {
        return context;
        }

            public void setContext(String context) {
        this.context = context;
        }
        public String getReamrk() {
        return reamrk;
        }

            public void setReamrk(String reamrk) {
        this.reamrk = reamrk;
        }

    @Override
    public String toString() {
    return "Information{" +
            "id=" + id +
            ", title=" + title +
            ", imgUrl=" + imgUrl +
            ", time=" + time +
            ", belongUser=" + belongUser +
            ", context=" + context +
            ", reamrk=" + reamrk +
    "}";
    }
}
